<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

</head>

<body>
<h3 style="padding-left:66px;">Nhận diện tài khoản của bạn</h3>
    <form action="index.html" method="post" id="register" onSubmit="return validFormRegister(this,'');">
        <div class="row">
            <span class="col-l">
                <span class="abbr">*</span>Tài khoản:
            </span>
            <span class="col-r">
                <input type="text" id="newAccount" name="newAccount" minlength="6" maxlength="24" />
            </span>
            <div class="clear"></div>
        </div>
        <div class="row">
            <span class="col-l">
                <span class="abbr">*</span>Email:
            </span>
            <span class="col-r">
                <input type="email" id="email" name="email" />
            </span>
            <div class="clear"></div>
        </div>
        <div class="row">
            <span class="col-l">
                <span class="abbr">*</span>Câu hỏi ngẫu nhiên:
            </span>
            <span class="col-r">
                3 + 1 = ?
            </span>
            <div class="clear"></div>
        </div>
        <div class="row">
        	<span class="col-l">
                <span class="abbr">*</span>Trả  lời
            </span>
            <span class="col-r" style="color:#FFF;">
                <input type="text" name="answer" id="answer" />
            </span>
            <div class="clear"></div>
        </div>
        <div class="row">
            <span class="col-l">
                <span class="abbr">&nbsp;</span>
            </span>
            <span class="col-r">
                <input id="register" type="submit" value="Lấy lại mật khẩu" style="width:auto;">
                <input id="reset" type="reset" value="Nhập lại">
            </span>
            <div class="clear"></div>
        </div>
</form>
<script type="text/javascript">
$('#register *').each(function() {
	if(this.type=='text'||this.type=='password'||this.type=='email'||this.type=='date')
	{
		$(this).blur(function(){
			
			validFormRegister(this.form,this.name);	
		});
	}
});
</script>
</body>
</html>
